package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverSystemMessageCategory {
    inService(0, "司机出车时消息"),
    regularNotice(1, "定时通知出车中的司机"),
    longDrive(2, "出车时间过长通知");

    @EnumValue
    private final int code;
    private final String desc;

    DriverSystemMessageCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
